package com.hjy.order.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    @RequestMapping("/{page}.html")
    public String gotoPage(@PathVariable("page") String page) {
        System.out.println("page = " + page);
        return page;
    }
}
